import { LOADING_STATUS } from '@/enum/loadingStatus';
import { ACTIVATE_STATUS, ACTIVATE_STATUS_NAME } from '@/enum/device';
import { IDeviceItem } from '@/types/device';

interface IRewardHistoryOptions {
	activateStatus ?: ACTIVATE_STATUS;
	label : ACTIVATE_STATUS_NAME | '全部';
	loadingStatus : LOADING_STATUS;
	pageSize : number;
	pageNum : number;
	list : IDeviceItem[];
}

interface ITabsChangeEvent {
	value : number;
	name : string;
}

interface IGetRewardListOptions {
	customer_id : number;
	activate_type ?: ACTIVATE_STATUS;
	page:number;
	page_num:number;
	model_sn:string;
}

interface IGetRewardListResult{
	data:IDeviceItem[];
	total:number;
}

interface IRewardHistoryListExpose{
	searchByKeyword:(searchKeyword : string)=>void;
}

export {
	IRewardHistoryOptions,
	IGetRewardListOptions,
	IGetRewardListResult,
	ITabsChangeEvent,
	IRewardHistoryListExpose
}